home *** CD-ROM | disk | FTP | other *** search
- .so psroff.inc # Include the macros needed for output to Postscript
- .TH Import-CAD3D
- .SH NAME
- imp_cad3d \- CAD 3D geometry import filter
- .SH SYNOPSIS
- .PP
- This man page describes the options specific to the CAD 3D geometry
- import converter.
- .PP
- .SH EXAMPLE CONVERSION SYNTAX
- .PP
- To convert a CAD-3D Studio file to Wavefront using the default parameters listed
- in the setup.ini file:
- .IP
- pt -i cad3d -o wave filename.3d2
- .PP
- To convert a CAD-3D file to VRML and override some of the default options
- in setup.ini:
- .IP
- pt -i cad3d -in-cad3d-list-objects = yes -o vrml filename.3d2
- .PP
- .SH OVERVIEW
- .PP
- The CAD 3D geometry import converter reads in all objects, lights,
- cameras and color data from a CAD 3D v2.0 binary file. CAD 3D was a
- popular 3D rendering program for the Atari ST which was written by Tom Hudson
- (of 3D Studio fame).
- .PP
- .SH COMMAND LINE OPTIONS
- .PP
- The following options are specific to this import converter:
- .TP
- -i cad3d
- This is the optional command line option which specifies that the input data
- is in the CAD 3D file format. If not specified then the converter will try
- to guess the input file's format from its file extension (.3d2) and then from the
- contents of its file.
- .TP
- -in-cad3d-verbose = [ yes | no ]
- If set to 'yes' then the import converter will print out verbose information
- about the CAD 3D file as it is being parsed.
- .TP
- -in-cad3d-calcnormals = [ yes | no ]
- If set to 'yes' then new vertex normals will be computed for a polygon
- if it does not have any vertex normals already. The smoothing criterion is
- based on the angle between abutting polygons; common smoothed vertex normals
- will be computed if the angle between their geometric surfaces normals is
- less than the '-in-cad3d-smoothing-angle' angle described below. If set to
- 'no' then no new vertex normals will be created.
- .TP
- -in-cad3d-smoothing-angle = #
- This option sets the cut-off smoothing angle (in degrees) used by the vertex normal
- computation algorithm. If the angle between two abutting polygons is greater
- than this number then no smoothing will occur (a crease will be evident
- between the two polygons), else smoothing will occur where the polygons
- meet. The default angle is 30 degrees.
- .TP
- -in-cad3d-list-objects = [ yes | no ]
- If set to 'yes' then the import converter will print out the names of the
- objects within the CAD 3D file. No data will be loaded in.